package com.txts.road.app.track.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;
import java.math.BigDecimal;

/**
 * 轨迹记录视图对象
 *
 * @author baoyr
 * @since 2025-07-17 10:43
 */
@Getter
@Setter
@Schema( description = "轨迹记录视图对象")
public class TrackRecordVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "轨迹ID")
    private Long id;
    @Schema(description = "用户ID")
    private Long userId;
    @Schema(description = "设备ID")
    private Long deviceId;
    @Schema(description = "轨迹名称")
    private String trackName;
    @Schema(description = "开始时间")
    private LocalDateTime startTime;
    @Schema(description = "结束时间")
    private LocalDateTime endTime;
    @Schema(description = "总里程(公里)")
    private BigDecimal totalDistance;
    @Schema(description = "总时长(秒)")
    private Integer totalDuration;
    @Schema(description = "轨迹数据(JSON格式)")
    private String trackData;

}
